
<div class="widget">
  <h3 class="widget-title">归档</h3>
  <div class="widget-body">
    <ul class="archive-list">
        {{ range (where (where .Site.Pages "Section" "posts") "IsPage" true).GroupByDate "2006-01" }}
        <li class="archive-list-item">
            <a class="archive-list-link" href="/posts/">{{ .Key }}</a>
            <span class="archive-list-count">{{ len .Pages }}</span>
        </li>
        {{ end }}
    </ul>
  </div>
</div>

